-
Home
-
J Cart Upsell and Cross-sell for WooCommerce
-
4.0.1 (latest)
-
Code
-
Classes
- OptionUpsell
Total Complexity |
27 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
176 |
Lines of code |
87 |
Logical lines of code |
58 |
Comment lines |
21 |
Methods |
10 |
Properties |
1 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
editOrAdd() |
A |
50 |
10 |
28 |
reorderUpsells() |
S |
62 |
3 |
12 |
translate() |
S |
60 |
3 |
12 |
removeUpsell() |
S |
72 |
3 |
5 |
changeStatus() |
S |
64 |
2 |
10 |
save() |
S |
66 |
2 |
8 |
__construct() |
S |
91 |
1 |
2 |
setDefaults() |
S |
77 |
1 |
4 |
load() |
S |
81 |
1 |
3 |
loadProducts() |
S |
79 |
1 |
3 |